package net.lzzy.mybatis.mapper;

import net.lzzy.mybatis.entity.comment;
import net.lzzy.mybatis.entity.Article;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ArticleMapper {
//    @Select("select * from t_article")
//    public List<Article> findAll();
    public Article selectArticle(Integer id);
    public int updateArticle(Article article);

}
